import { defineStore } from "pinia";
//仓库键名必须是use开头并且具有唯一性
import { userTop } from "./keys";

//topBar组件重载
export const useTopBarStore = defineStore("userTop", {
  state() {
    return {
      isKey: 0,
    };
  },
  getters: {},
  actions: {
    topBarKey() {
      this.isKey++;
    },
  },
});
